package com.ynny.chapter05.entity;

import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 自定义resultType
 */
@Data
@ToString
public class UserDTO {
    private Integer userId;
    private String userName;
    private Integer age;
    private String hobby;

//    private Integer addressId;
//    private String city;
//    private String address;

    private List<Address> addressList;
}